/*  ----------------------------------------------------------------------------
 *  Arello Mobile
 *  Fast 3d Engine
 *  ----------------------------------------------------------------------------
 * Except where otherwise noted, this work is licensed under
 * http://creativecommons.org/licenses/by/3.0
 */

#ifndef __LIB3D_SELECTOR_SIMPLE_H__
#define __LIB3D_SELECTOR_SIMPLE_H__

#include <lib3d/hard/Manager.h>
#include <filesystem/String.hpp>
#include <WindowImpl.h>

namespace liba
{
namespace lib3d
{
namespace selector
{

class Simple
{
public:
	explicit Simple();
	~Simple();
	hard::Hardware * set_mode( WindowImpl * wnd );
	hard::Hardware * load( const filesystem::String & config_filename );
	bool save( hard::Hardware * hardware, const filesystem::String & config_filename )const;
	void change_mode( WindowImpl * wnd );
};

} // namespace selector
} // namespace lib3d
} // namespace liba
using namespace liba;

#endif //__LIB3D_SELECTOR_SIMPLE_H__

